package mainDemo01;

import javax.swing.plaf.BorderUIResource;

public class MainDemo3 {
    public static void main(String[] args) {
        int[] arr ={11,22,33,44,55};
        System.out.println(number(arr));

    }
    public static boolean number(int[] arr){
        boolean flag = false;
        for (int i = 0; i < arr.length; i++) {

            switch (arr[i]){
                case 12:
                    flag = true;
                    break;
            }
        }
        return flag;
    }
}
